<?xml version='1.0' encoding='ISO-8859-1' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                template="./templatelogin.xhtml"
                xmlns:p="http://primefaces.org/ui"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                >
    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link href="./resources/css/default.css" rel="stylesheet" type="text/css" />
        <link href="./resources/css/cssLayout.css" rel="stylesheet" type="text/css" />

    </h:head>
    <ui:define name="content">
        <h:form id="form" >
            <div id="boxAcessoNegado">
                <h:graphicImage value="/resources/imgs/alert.png"/>
                <p>Acesso negado</p>
                <p:commandButton id="AcessoNegado" value="Ir Para Tela de Login"   
                                 oncomplete="handleLogoutRequest()" style="float:right;"/>
            </div>
        </h:form>
        <script type="text/javascript">  
            function handleLogoutRequest() {  
                location.href="Login.xhtml";
            }  
        </script>  

    </ui:define>




</ui:composition>